package com.tong.cloud.feign.annotation;

import feign.RequestInterceptor;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.util.List;

@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
public @interface CustomClient {
    String token() default "";

    int connectTimeout() default 10000;

    int readTimeout() default 60000;

    Class<List<RequestInterceptor>>[] interceptors() default {};
}
